package com.zhaishuaishuai.serviceProvider.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller("ServiceProviderController")
public class ServiceProviderController {

    @RequestMapping("/sayHello")
    @ResponseBody
    public String sayHello(){
        return "sayHello from service-provider-load-balance";
    }

    @RequestMapping("/useZuul")
    @ResponseBody
    public String useZuul(){
        return "from service provider";
    }

}
